package com.dt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dt.entity.FjJrYhcptjjs;
import com.dt.entity.FjJrYhcptjjsExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FjJrYhcptjjsMapper extends BaseMapper<FjJrYhcptjjs> {
    long countByExample(FjJrYhcptjjsExample example);

    int deleteByExample(FjJrYhcptjjsExample example);

    List<FjJrYhcptjjs> selectByExample(FjJrYhcptjjsExample example);

    int updateByExampleSelective(@Param("record") FjJrYhcptjjs record, @Param("example") FjJrYhcptjjsExample example);

    int updateByExample(@Param("record") FjJrYhcptjjs record, @Param("example") FjJrYhcptjjsExample example);

    int batchInsert(@Param("list") List<FjJrYhcptjjs> list);

    int insertOrUpdate(FjJrYhcptjjs record);

    int insertOrUpdateSelective(FjJrYhcptjjs record);

    List<FjJrYhcptjjs> findByColumn1AndColumn2(@Param("column1")String column1);
}